package com.aaa.qy127.service;

import com.aaa.qy127.entity.Dept;
import com.aaa.qy127.util.Result;

import java.util.List;
import java.util.Map;

public interface DeptService {


    /**
     * 查询 所有的dept 信息
     * @return
     */
    List<Map<String, Object>> selDept();

    String addDept(Dept dept);
    Result queryAllBook(Dept dept);
    String updateStatus(Integer deptid, Integer status, Integer count);
    int max();
}
